package com.qumoyugo.springframework.beans.factory;

import com.qumoyugo.springframework.beans.BeansException;
import com.qumoyugo.springframework.context.ApplicationContext;

/**
 * 实现此接口，即能感知所属的ApplicationContext
 */
public interface ApplicationContextAware extends Aware {

    void setApplicationContext(ApplicationContext applicationContext) throws BeansException;
}
